package cn.com.infohold.smartcity.api.bean;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * Created by apple on 2017/4/26.
 */

public class _Result<T> implements Serializable {

    @Expose()
    @SerializedName("success")
    protected boolean success;

    @Expose()
    @SerializedName("message")
    protected String message;

    @Expose()
    @SerializedName("data")
    protected T data;


    @Expose()
    @SerializedName("list")
    protected List<T> list;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }
}
